/* 
 * Author: everyone
 */

#ifndef APP_CFG_H_H_
#define APP_CFG_H_H_

#include "mytype.h"

//------------------------------------------------------------------------------
//------------------------------ COMMON CONFIG ---------------------------------
//------------------------------------------------------------------------------
#define VERSION_ID 0x5535

#define SEC_PER_MIN ((ii16)60)
#define MIN_PER_HOUR ((ii16)60)

//------------------------------------------------------------------------------
//------------------------------- GROUP CONFIG ---------------------------------
//------------------------------------------------------------------------------
#define PROG_SEG_MIN 1 // prog par same as t-box
#define PROG_SEG_MAX 24

#define GP_BASE_MAX 3 // group par same as stri
#define GP_LIST_MAX 80

//------------------------------------------------------------------------------
//------------------------------- EEP CONFIG -----------------------------------
//------------------------------------------------------------------------------
#define EEP_EN 0
#define EEP_ENCPTY_EN 0

#define EEP_SYS_PAR_BASE 0
#define EEP_GROUP_PAR_BASE 0x200
#define EEP_PROG_PAR_BASE 0x800

#define EEP_LIC_BASE	0xC00

#endif /* APP_CFG_H_H_ */
